package org.alex.samples.service;

import org.alex.samples.dao.IRoleDAO;
import org.alex.samples.model.ExamUserRole;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class RoleServiceImp implements IRoleService{
	
	@Autowired
	private IRoleDAO roleDAO;

	@Override
	public ExamUserRole getUserByUserId(String userId) {
		return roleDAO.getUserByUserId(userId);
	}

}
